@layout("/common/_container.html",{js:["/assets/modular/system/btyZxBaoxiaodan/btyZxBaoxiaodan.js"]}){


<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <!-- 状态 1.待提交，2.工程待审核，3.工程驳回，4.财务待审核，5.财务驳回，6.待打款，7.已打款；-->
                                <select name="status" id="status">
                                    <option value="">全部状态</option>
                                    <option value="1">待提交</option>
                                    <option value="2">工程待审核</option>
                                    <option value="3">工程驳回</option>
                                    <option value="4">财务待审核</option>
                                    <option value="5">财务驳回</option>
                                    <option value="6">待打款</option>
                                    <option value="7">已打款</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="shopName" name="shopName" lay-search>
                                    <option value="">请选择门店</option>
                                </select>
                            </div>

                            <div class="layui-inline">
                                <input type="text" autocomplete="off" id="startDate" class="layui-input" placeholder="开始日期">
                            </div>
                            <div class="layui-inline">
                                <input type="text" autocomplete="off" id="endDate" class="layui-input" placeholder="结束日期">
                            </div>

                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>新增报销单</button>
<!--                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="btyZxBaoxiaodanTable" lay-filter="btyZxBaoxiaodanTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <!--  待提交 驳回  显示修改-->
    {{#  if(d.status == 1 || d.status == 3 || d.status == 5){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    {{#  } }}
    {{#  if(d.status == 1){ }}
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    {{#  } }}
    <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="detail">详情</a>
</script>
@}